package com.qingmeng.applyjob.portal.enums;

import com.qingmeng.applyjob.common.api.IErrorCode;

/**
 * 用户发布求内推结果枚举
 */
public enum InterpolatingResult implements IErrorCode {
    SUCCESS(0,"您的内推信息提交成功，我们需要审核您的信息，审核成功之后，您的信息将会直接发布"),
    WITHOUT_TITLE(1,"请添加标题"),
    FAILED(2,"求内推发布失败"),
    UPDATE_SUCCESS(4,"您的求内推信息修改成功"),
    UPDATE_FAILED(5,"求内推信息修改失败");

    private final long code;
    private final String message;

    InterpolatingResult(long code , String message){
        this.code = code;
        this.message = message;
    }

    @Override
    public long getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
